package contegor.scire.core;

import java.io.Serializable;


/**
 * Interface to be implemented by the basic components of an {@link Id}.
 * The implementations of this interface must be immutable.
 * 
 * @version $Revision$ 
 * @author  Héctor Cirbián Pousa ($Author$)
 */
public interface IdFragment extends Serializable, Comparable<IdFragment> {
  
  /* Implementations of this interface must take care of hashCode method. */
  public int hashCode();
  
  /* Implementations of this interface must take care of equals method. */
  public boolean equals(Object obj);

}
